<template>
  <div class="zlxg-page">
    <div class="primary-header clearfix flex flex-row align-center mt20">
      <div class="line" />
      <span class="font18 ml10 flex-auto">怀疑用药</span>
    </div>
    <div class="table-content">
      <drugTable :data="formData.suspectedDrug" />
    </div>
    <div class="primary-header clearfix flex flex-row align-center mt20">
      <div class="line" />
      <span class="font18 ml10 flex-auto">并用药品</span>
    </div>
    <div class="table-content">
      <drugTable :data="formData.togetherDrug" />
    </div>
    <div class="primary-header clearfix flex flex-row align-center mt20">
      <div class="line" />
      <span class="font18 ml10 flex-auto">事件详情</span>
    </div>

    <el-descriptions class="margin-top" :column="4" border>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          报告类型
        </template>
        {{ formData.bglx | arrayString }} {{ formData.bglx_cd }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          报告单位类别
        </template>
        {{ formData.bgdwlb }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          编码
        </template>
        {{ formData.bgdw_bm }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          医院名称
        </template>
        {{ formData.hb_hospital }}
      </el-descriptions-item>

      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          病历号/门诊号
        </template>
        {{ formData.hb_blh }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          原患疾病
        </template>
        {{ formData.yhjb }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          不良反应/事件名称
        </template>
        {{ formData.blsj_name }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          不良反应/事件发生时间
        </template>
        {{ formData.blsj_fssj }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          不良反应/事件的结果
        </template>
        {{ formData.blfyjg }}
      </el-descriptions-item>
      <el-descriptions-item
        v-if="formData.blfyjg == '有后遗症'"
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          后遗症表现
        </template>
        {{ formData.hyzbx }}
      </el-descriptions-item>
      <el-descriptions-item
        v-if="formData.blfyjg == '死亡'"
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          直接死因
        </template>
        {{ formData.zjsy }}
      </el-descriptions-item>
      <el-descriptions-item
        v-if="formData.blfyjg == '死亡'"
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle"
      >
        <template slot="label">
          死亡时间
        </template>
        {{ formData.dead_time }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="4"
        :content-style="contentStyle"
        :label-style="labelStyle1"
      >
        <template slot="label">
          不良反应/事件过程描述(包括症状、体征、临床检验等)及处理情况(2000字之内)：
        </template>
        {{ formData.ypblfygc }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle1"
      >
        <template slot="label">
          停药或减量后反应/事件是否消失或减轻
        </template>
        {{ formData.tyjq }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle1"
      >
        <template slot="label">
          再次使用可疑药品后是否再次出现同样反应/事件
        </template>
        {{ formData.zcsykyywh }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle1"
      >
        <template slot="label">
          对原患疾病的影响
        </template>
        {{ formData.dyhbyx }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle1"
      >
        <template slot="label">
          用药与不良反应的出现有无合理的时间关系
        </template>
        {{ formData.ywhlsjgx }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle1"
      >
        <template slot="label">
          反应是否符合该药已知的不良反应类型
        </template>
        {{ formData.radio_1695550950000_3299 }}
      </el-descriptions-item>
      <el-descriptions-item
        :span="2"
        :content-style="contentStyle"
        :label-style="labelStyle1"
      >
        <template slot="label">
          反应是否可用并用药的作用、患者病情的进展、其他治疗的影响来解释
        </template>
        {{ formData.radio_1695551046000_75622 }}
      </el-descriptions-item>
    </el-descriptions>
    <div class="height60 text-center font18 line-height-60">报告人信息</div>
    <el-descriptions class="margin-top" :column="4" border>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          联系电话
        </template>
        {{ formData.bgrxx_phone }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          电子邮件
        </template>
        {{ formData.bgrxx_email }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          职业
        </template>
        {{ formData.bgrxx_zy }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          签名
        </template>
        {{ formData.bgrxx_sign }}
      </el-descriptions-item>
    </el-descriptions>
    <div class="height60 text-center font18 line-height-60">报告单位信息</div>
    <el-descriptions class="margin-top" :column="4" border>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          单位名称
        </template>
        {{ formData.bgdwxx_dwmc }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          部门
        </template>
        {{ formData.bgdwxx_dept }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          联系人
        </template>
        {{ formData.bgdwxx_lxr }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          电话
        </template>
        {{ formData.bgdwxx_phone }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          报告日期
        </template>
        {{ formData.bgdwxx_bgrq }}
      </el-descriptions-item>
    </el-descriptions>
    <div class="height60 text-center font18 line-height-60">关联性评价</div>
    <el-descriptions class="margin-top" :column="4" border>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          报告人
        </template>
        {{ formData.glx_bgrpj }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          报告人签名
        </template>
        {{ formData.glx_bgrpjqm }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          报告单位
        </template>
        {{ formData.glx_bgdw }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          报告单位签名
        </template>
        {{ formData.glx_bgdwqm }}
      </el-descriptions-item>
      <el-descriptions-item :span="2" :label-style="labelStyle">
        <template slot="label">
          生产企业请填写信息来源
        </template>
        {{ formData.scqyxxly }}
      </el-descriptions-item>
      <el-descriptions-item :span="4" :label-style="labelStyle2">
        <template slot="label">
          备注
        </template>
        {{ formData.remarks }}
      </el-descriptions-item>
    </el-descriptions>
    <!-- <div class="primary-header clearfix flex flex-row align-center mt20">
        <div class="line"></div>
        <span class="font18 ml10 flex-auto">SAC评分</span>
      </div> -->
    <!-- <div class="table-content">
        <el-descriptions class="margin-top" :column="2" border>
          <el-descriptions-item
            :contentStyle="contentStyle"
            :labelStyle="labelStyle"
          >
            <template slot="label">
              事件类型
            </template>
            {{ formData.sjpg_sjlx }}
          </el-descriptions-item>
          <el-descriptions-item
            :contentStyle="contentStyle"
            :labelStyle="labelStyle"
          >
            <template slot="label">
              事件分类
            </template>
            {{ formData.sjpg_sjfl }}
          </el-descriptions-item>
          <el-descriptions-item
            :contentStyle="contentStyle"
            :labelStyle="labelStyle"
          >
            <template slot="label">
              患者损害结果
            </template>
            {{ formData.sjpg_shjg_text }}
          </el-descriptions-item>
          <el-descriptions-item
            :contentStyle="contentStyle"
            :labelStyle="labelStyle"
          >
            <template slot="label">
              事件再发生频率
            </template>
            {{ formData.sjpg_zfspl_text }}
          </el-descriptions-item>
          <el-descriptions-item
            :span="2"
            :contentStyle="contentStyle"
            :labelStyle="labelStyle"
          >
            <template slot="label">
              SAC评分
            </template>
            {{ formData.sjpg_sac }} 分
          </el-descriptions-item>
        </el-descriptions>
      </div> -->
  </div>
</template>
<script>
import drugTable from '../ywblfy/drugTable'
export default {
  name: 'Baqsjczywv3',
  components: {
    drugTable
  },
  filters: {
    arrayString(val) {
      if (val && val.length > 0) {
        return val.join(',')
      } else {
        return ''
      }
    }
  },
  props: ['formData', 'createTime'],
  data() {
    return {
      contentStyle: {
        'text-align': 'left'
      },
      labelStyle: { width: '170px' },
      labelStyle1: { 'min-width': '200px' },
      labelStyle2: { width: '130px' }
    }
  },

  computed: {},
  mounted() {}
}
</script>
  <style lang="scss" scoped></style>
